From: Guillaume Desmottes Date: Tue, 30 Aug 2011 12:35:20 +0000 (+0200) Subject: don't translate IM status X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~7843 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=8cf6b4c7283a383883bdec6ee13b194ae3a5137b;p=gnome-shell.git don't translate IM status They are well-known strings defined in the Telepathy spec and so shouldn't be translated. https://bugzilla.gnome.org/show_bug.cgi?id=657696 --- diff --git a/js/ui/userMenu.js b/js/ui/userMenu.js index 33c331511..115bcf7c1 100644 --- a/js/ui/userMenu.js +++ b/js/ui/userMenu.js @@ -250,19 +250,19 @@ IMStatusChooserItem.prototype = { _statusForPresence: function(presence) { switch(presence) { case Tp.ConnectionPresenceType.AVAILABLE: - return _("Available"); + return 'available'; case Tp.ConnectionPresenceType.BUSY: - return _("Busy"); + return 'busy'; case Tp.ConnectionPresenceType.OFFLINE: - return _("Unavailable"); + return 'offline'; case Tp.ConnectionPresenceType.HIDDEN: - return _("Hidden"); + return 'hidden'; case Tp.ConnectionPresenceType.AWAY: - return _("Away"); + return 'away'; case Tp.ConnectionPresenceType.EXTENDED_AWAY: - return _("Idle"); + return 'xa'; default: - return _("Unknown"); + return 'unknown'; } },